<script type="text/javascript">
$(document).ready(function(){

    $("#newfeed").click(function(event){
        event.preventDefault();
        loadView("/feed/activeaddfeed", $('#contentwidgetform'), function(){
        	$("#closeaddFeed").hide();
            prepareInputsForHints();
        });
        $("#headergreybox").text("<?= $this->translate('addNewFeed')?>");
    });

    $("#headergreybox").text("<?= $this->translate('feedHistory')?>");
    loadView("/feed/loadfeedshistory", $('#contentwidgetform'), null);
});
</script>

<!--###Blocco Centrale###-->
    <div id="content">
        <div id="columns">    
            <ul id="column1Home" class="column">
                <li class="widget color-myOrange" id="intro">
                    <div class="widget-head">
                        <h3><?= $this->translate('manageFeeds')?></h3>
                    </div>
                    <div class="widget-contentHome">
                        <ul class="navigationsubmenu">
                            <li>
                                <a id="newfeed" href="#"><?= $this->translate('addNewFeed')?></a>
                            </li>
                        </ul>
                    </div>
                </li>
            </ul>
            <ul id="column2Home" class="column">
                <li class="widget color-myGrey">  
                    <div class="widget-head">
                        <h3 id="headergreybox"></h3>
                    </div>
                    <div class="widget-contentHome">
                        <div id="contentwidgetform" class="contentWidgetForm">
                            <!-- inserimento dei form tramite ajax -->
                        </div>
                    </div>
                </li>
            </ul>
            <div style="clear: both;"></div>
        </div>
    </div><!--contentCenter-->